<div #noticeEdit  *ngIf="editNoticeFlag">
  <nz-layout >
    <nz-header><label style="color:white;">修改通知</label></nz-header>
    <nz-content style="padding-left:5%;margin-top:10px;">
      <div>
        <label >&nbsp;&nbsp;通知类型：
          <!-- 下拉框样式一 -->
          <nz-select   style="width: 172px;height:10px;" nzAllowClear [nzPlaceHolder]="'notices.columnName'"  [(ngModel)]="noticeCategoryId" name="noticeCategoryName" nzShowSearch>
              <nz-option  *ngFor="let noticeCategory of noticeCategoryNames"  [nzLabel]="noticeCategory.columnName" [nzValue]="noticeCategory.id" [nzDisabled]="noticeCategory.disabled">{{noticeCategory}}</nz-option>
          </nz-select>
          <!-- 下拉框样式二   id="noticeCategoryName"-->
          <!-- <select  style="width: 172px;" [(ngModel)]="noticeCategoryId" name="noticeCategoryName" required #courseName="ngModel" >
            <option  class="col-md-1" *ngFor="let noticeCategory of noticeCategoryNames" [value]="noticeCategory.id">{{noticeCategory.columnName}}</option>  
          </select> -->
        </label>
      </div>
      <div>
        <div style=" float:left;"><label>&nbsp;&nbsp;接&nbsp;&nbsp;收&nbsp;&nbsp;人: &nbsp;&nbsp;</label></div>
        <div>
          <input  type="text" style="width: 172px;height:30px;" [(ngModel)]="SearchpersonName" placeholder="---请输入姓名---" name="SearchpersonName" >
          <button type="submit" style="width: 50px" class="btn btn-primary" (click)="combinationSearch(notices.id)">搜索</button>
        </div>
        <div style=" display:inline;"><ul id="ztree" class="ztree" style="margin-top: 0; width: 110px;"></ul></div>
      </div>
      <div>
        <!-- <label>&nbsp;&nbsp;通知标题：&nbsp;&nbsp;<input [(ngModel)]="notices.title" ></label> -->
        <label >&nbsp;&nbsp;通知标题：&nbsp;&nbsp;<input [(ngModel)]="notifyTitle" ></label>
      </div>
      <div>
        <label>&nbsp;&nbsp;通知内容：
          <div style="padding-left:1%;" style="width: 700px;">
            <p-editor [(ngModel)]="notifyInfo" [style]="{'height':'320px'}"></p-editor>
            <!-- <p-editor [(ngModel)]="notices.noticeContent" [style]="{'height':'320px'}"></p-editor> -->
            <!-- notices.id -->
            <button pButton   type="button" (click)="editNotice()" label="修改"></button>
            <button pButton type="button" (click)="cancelClick()" label="取消"></button>
          </div>
        </label>

      </div>
    </nz-content>
  </nz-layout>
  
  <!--尝试回显效果 -->
  <!-- <h3 class="first">Single</h3>
  <p-dropdown  [(ngModel)]="noticeCategoryId" placeholder={{noticeCategory}} optionLabel="name" width="400">
    <option *ngFor="let noticeCategory of noticeCategoryNames"  [Label]="noticeCategory.columnName" [Value]="noticeCategory.id" [Disabled]="noticeCategory.disabled"></option>
  </p-dropdown> -->
  
  
  
  <!-- 提示框，隐藏IP地址 -->
  <p-dialog header="提示" [(visible)]="display" modal="modal" width="400" [responsive]="true">
  <p style="text-align:center">
      {{messages}}
  </p>
  <p-footer>
      <button type="button" pButton icon="fa-check" (click)="display=false" label="确定"></button>
      <button id="btnErrorDataShow" type="button" pButton icon="fa-check" style="display:none;" (click)="lookErrorData()" label="失败数据"></button>
  </p-footer>
  </p-dialog>
  
  <!-- 确认框 -->
  <p-confirmDialog header="提示" icon="fa fa-question-circle" width="425"></p-confirmDialog>
    
</div>